]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Remove invalid introspection annotation
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Aug 2020 22:04:38 +0000 (00:04 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 13 Aug 2020 22:44:45 +0000 (22:44 +0000)
(optional) is only valid for (out) or (inout) parameters (that are
marked as such).

However GError** arguments appear as throws="1" in the GIR anyway
instead of an explicit parameter, so we don't need any annotation
at all here.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1408

src/st/st-theme.c

index e9716fe631c1444992011b899fe5b6859b85b6ec..d1bde3fc02a1c9721e032886b1beb0ca6f653e51 100644 (file)
@@ -254,7 +254,7 @@ insert_stylesheet (StTheme      *theme,
  * st_theme_load_stylesheet:
  * @theme: a #StTheme
  * @file: a #GFile
- * @error: (optional): a #GError
+ * @error: a #GError
  *
  * Load the stylesheet associated with @file.
  *